<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>ride</title>
		<script type="text/javascript">
			window._AMapSecurityConfig = {
				securityJsCode: "	3f1250376db58830edbb2089f108eb24",
			};
		</script>
		<script src="https://webapi.amap.com/loader.js"></script>
		<script type="text/javascript">
			AMapLoader.load({
				key: "1a81b7f9ecd399eedd5463063f662178", // 申请好的Web端开发者Key，首次调用 load 时必填
				version: "2.0", // 指定要加载的 JSAPI 的版本，缺省时默认为 1.4.15
			})
				.then((AMap) => {
					const map = new AMap.Map("container", {
						center: [104.073007, 30.552704], //初始化地图中心点位置
					});
				})
				.catch((e) => {
					console.error(e); //加载错误提示
				});
		</script>
	</head>
	<body>
		<main>
			<header id="headnav"></header>
			<section id="title">
				<p>目前累计骑行距离：</p>
				<p><span id="num">99.99</span>公里</p>
			</section>
			<section id="map">
				<div id="container"></div>
				<div id="begin">GO</div>
			</section>
		</main>
		<div id="mask"></div>
		<div id="box">3</div>
		<footer id="tapBar"></footer>
	</body>
</html>
